package org.jeecg.modules.hqbaoxiao.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 报销
 * @Author: jeecg-boot
 * @Date:   2020-07-07
 * @Version: V1.0
 */
@Data
@TableName("hq_baoxiao")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hq_baoxiao对象", description="报销")
public class HqBaoxiao implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@Excel(name = "编号", width = 20)
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;

    @Excel(name = "单据类型", width = 15,dicCode = "djlx")
    @ApiModelProperty(value = "单据类型")
    @Dict(dicCode = "djlx")
    private java.lang.String djlx;

    @ApiModelProperty(value = "部门级别")
    @Dict(dicCode = "bmjb")
    private java.lang.String bmjb;

//    @Dict(dictTable = "sys_category", dicCode = "id", dicText = "name")
//	private String yuskm;
	/**报销金额*/
	@Excel(name = "报销金额", width = 15)
    @ApiModelProperty(value = "报销金额")
    private java.lang.String amount;

    @Excel(name = "开支内容", width = 15,dicCode = "sqlx")
    @ApiModelProperty(value = "报销类型")
    @Dict(dicCode = "sqlx")
    private java.lang.String sqlx;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String attachment;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/

    @Excel(name = "申请时间", width = 20)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;

    @TableField(value = "process_instance_id")
    private String processInstanceId;

    @TableField(value="task_id")
    private String taskId;

    @TableField(exist = false)
    private Date endTime;
    @TableField(exist = false)
    private String auditStatus;
    @TableField(exist = false)
    private Integer processStatus;

    @TableField(exist = false)
    private String taskName;
    @TableField(exist = false)
    private String assignName;
    @TableField(exist = false)
    private String taskMsg;
    @TableField(exist = false)
    private String currtTaskId;
    @TableField(exist = false)
    private String shenpsj;

    // 核准数
    @Excel(name = "核准金额", width = 15)
    String hezje;
//
    private String xmmc;
//
    private String xmbh;
//
    private String bzb;
//
    private String txrs;
//
    private String dddd;

    private String ccrq;

    private Integer baoxStatus;

    @TableField(exist = false)
    private List<HqBaoxiaoDetail> hqBaoxiaoDetailList;
    
    @TableField(exist = false)
    private String detailCount;

    // 固定资产编号
    String gudzcbh;
}
